<!DOCTYPE html>
<html>
<head>
<title>Stalk2Inspire | <?php echo $cat_id;?></title>
<link rel="stylesheet" href="<?php echo base_url(); ?>/css/bootstrap.css" >

</head>
<body>
<!-- begin page-->
<div class="container" id="container">

<div class="row">
<div class="span16">
<h2>Stalk2Inspire Forum Page | Category : <?php echo $cat_id;?></h2>
</div>
</div>

<div class="row">
<div class="span16">
	<div class="row">
	<div class="span16" style="background:black; border-radius:5px 5px 0 0; height:50px;"><h3 style="color:#fff">Category : <?php echo '';?></h3></div>
	</div>
	
	<?php 
	foreach ($threads as $thread){
	?>
	<div class="row">
	<div class="span16" style="background:#aadddd;margin-top:3px; border-radius:3px; height:60px;box-shadow: 0 0 3px #000">
	<div style="margin-left:5px;">
	<h4><a href="<?php echo base_url()?>forum/thread/<?php echo $thread[0];  ?>" ><?php echo $thread[1];?></a></h4>
	<p><?php echo $thread[5];?></p>
	
	</div>
	</div>
	</div>
	
	<?php
	}
	
	?>
	
</div>
</div>
</div>
</div>
</div>
</body>
</html>
